package com.demo.controller;

import com.demo.model.Dog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Admin
 * Date: 2023-02-12
 * Time: 17:09
 */
@Controller
public class DogBean3 {

    @Autowired
    private Dog dog;

    public void doDog() {
        System.out.println("do Dog 3");
        System.out.println(dog);
    }
}
